/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package builder;

/**
 *
 * @author Emmanuel
 */
public class BuilderDirector {
    
    BuilderConstructor constructor;

    public void setConstructor(BuilderConstructor constructor) {
        this.constructor = constructor;
    }
    
    public BuilderProducto1 obtenerProducto1(){
        
        return constructor.obtenerProducto();
    }
    
    public void construirProducto(){
        constructor.crearProducto();
        constructor.construirCaracteristica1();
        constructor.construirCaracteristica2();
    }
}
